package com.kymatrix.mpo.plus.bpm.server.model.form.task;

import com.kymatrix.mpo.plus.common.business.common.BasePageReq;
import com.kymatrix.mpo.plus.common.constants.Constant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

@ApiModel(value = "管理后台 - 流程任务的的分页 Request") // 待办、已办，都使用该分页
@Data
@Accessors(chain=true)
public class PageQueryBpmTaskReq extends BasePageReq {

    @ApiModelProperty(value = "流程任务名", example = "zhangsan")
    private String name;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = Constant.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
